package com.ruoyi.websocker.mapper;

import com.ruoyi.tuser.domain.TUser;
import com.ruoyi.websocker.MessageBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户Mapper接口
 *
 * @author ruoyi
 * @date 2024-11-08
 */
@Mapper
public interface TChatMessageMapper
{
  int insertMessgae(@Param("userId")String userId,@Param("msg")String msg,@Param("status")String status,@Param("customerserviceId")String customerserviceId,@Param("role")String role);
  List<MessageBean> findCustomerMessageById(@Param("customerId")Long customerId,@Param("userId")Long userId);
}
